package com.ruoyi.play.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 去哪选项对象 where_to_go_option
 * 
 * @author ruoyi
 * @date 2024-12-19
 */
public class WhereToGoOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 选项ID */
    private Long id;

    /** 所属模块ID */
    @Excel(name = "所属模块ID")
    private Long moduleId;

    /** 选项名称 */
    @Excel(name = "选项名称")
    private String name;

    /** 实现类型 */
    @Excel(name = "实现类型")
    private String type;

    /** 分类 */
    @Excel(name = "分类")
    private String category;

    /** 选项描述 */
    @Excel(name = "选项描述")
    private String description;

    /** 选项图片 */
    @Excel(name = "选项图片")
    private String image;

    /** 标签 */
    @Excel(name = "标签")
    private String tags;

    /** 热度值 */
    @Excel(name = "热度值")
    private Integer popularity;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortOrder;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 模块信息 */
    private WhereToGoModule module;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setTags(String tags) 
    {
        this.tags = tags;
    }

    public String getTags() 
    {
        return tags;
    }
    public void setPopularity(Integer popularity) 
    {
        this.popularity = popularity;
    }

    public Integer getPopularity() 
    {
        return popularity;
    }
    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public WhereToGoModule getModule() 
    {
        return module;
    }

    public void setModule(WhereToGoModule module) 
    {
        this.module = module;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moduleId", getModuleId())
            .append("name", getName())
            .append("type", getType())
            .append("category", getCategory())
            .append("description", getDescription())
            .append("image", getImage())
            .append("tags", getTags())
            .append("popularity", getPopularity())
            .append("sortOrder", getSortOrder())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("module", getModule())
            .toString();
    }
} 